<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:fn="http://java.sun.com/jsp/jstl/functions"
	xmlns:p="http://primefaces.org/ui">
	
	<ui:include src="trainingSystemWelcome.xhtml" /> 

	<p:tabView id="tabTrainingSystem" dynamic="true" style="border:none;height:98%" rendered="#{trainingSystemBean.trainingSystem != null}"  >
		<p:tab id="tabTrainingSystemData"  title="#{msgs.BasicData}" titleStyleClass="ui-widget">
			<ui:include src="/trainingSystem/trainingSystemData.xhtml" />
		</p:tab >
		<p:tab id="tabExercises"    title="#{msgs.Exercises}" titleStyleClass="ui-widget">
			<ui:include src="/trainingSystem/trainingSystemSteps.xhtml" />
		</p:tab>
	</p:tabView>
</html>